var s1 = 'fix(R00000000):问题修复\n'
const numPattern = /[UB]{1}[0-9]{8}/g
// var p1 = /^(feat|fix|refactor|docs|style)\([UB]{1}[0-9]{8}\)(:|：).+$/
// var ctype = s1.match(numPattern)
// console.log(ctype)


console.log(s1.match(numPattern))
